//
//  MyWorksSpecialCell.m
//  WeiWeiHaircut
//
//  Created by 超群 on 15/10/16.
//  Copyright © 2015年 超群. All rights reserved.
//

#import "MyWorksSpecialCell.h"
#import "UIView+RoundView.h"

@implementation MyWorksSpecialCell

- (void)awakeFromNib {
    [self.contentView setlineFrame:CGRectMake(0, 0.5f, WIDTH, .5f) lineColor:groupDarkGrayColor lineAlpha:1];
    [self.contentView setlineFrame:CGRectMake(0, 131.5f, WIDTH, .5f) lineColor:groupDarkGrayColor lineAlpha:1];
}
-(void)addImagesAtWorksScrollViewWithImageArr:(NSArray *)images
{
    _worksScrollView.contentSize = CGSizeMake((12 + 47) * images.count,(47 + 12 * 2));
    for (int i = 0; i < images.count; i ++) {
        NSString *url = images[i];
        UIImageView *imageV = [[UIImageView alloc]initWithFrame:CGRectMake(12 + (12 + 47) * i, 12, 47, 47)];
        imageV.userInteractionEnabled = YES;
        [imageV sd_setImageWithURL:[NSURL URLWithString:url] placeholderImage:[UIImage imageNamed:@"1123.jpg"]];
        [_worksScrollView addSubview:imageV];
    }
}
-(void)scrollViewDidScroll:(UIScrollView *)scrollView
{
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
